package com.example.starapp.utils;

public class URLUtils {
    /* 星座配对接口 */
    private static String parnterURL = "http://apis.juhe.cn/xzpd/query";

        public static String getParnterURL(String man,String woman){
            String msg = "?men="+man+"&women="+woman+"&key=c0dcc3ccde26fad3e7f84ba85071a1f5";
            String url = parnterURL +msg;
            return url;
        }  //星座运势网址
    private static String luckUrl="http://web.juhe.cn:8080/constellation/getAll";
    public static String getLuckUrl(String star){
        String msg="?consName="+star+"&type=year&key=f34c4e78241ef102e1ec537151b409e1";
        String Url=luckUrl+msg;
        return Url;
    }
}
